package com.jy.api.vo.web;

import com.jy.api.vo.pos.order.OrderVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by lihu on 2017/12/8.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WebOrderVo {

    private int totalPages;

    private long totalElements;


    private List<OrderVo> orderVos = new ArrayList<>();


    public WebOrderVo(int totalPages, long totalElements) {
        this.totalPages = totalPages;
        this.totalElements = totalElements;
    }
}
